1bashThis script resolves the IP address for a given DNS name using the dig command.DNS_NAME=${1:?'is required'} dig +short $DNS_NAMEsolutionsDNS resolution